<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Other Classes  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset="utf-8">
    <script src="js/jquery.min.js" defer></script>
    <script src="js/jazzy.js" defer></script>
    
    <script src="js/lunr.min.js" defer></script>
    <script src="js/typeahead.jquery.js" defer></script>
    <script src="js/jazzy.search.js" defer></script>
  </head>
  <body>


    <a title="Other Classes  Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="index.html">
          SwiftSVG Docs
        </a>
         (51% documented)
      </p>
    
      <p class="header-col--secondary">
        <form role="search" action="search.json">
          <input type="text" placeholder="Search documentation" data-typeahead>
        </form>
      </p>
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="https://github.com/mchoe/swiftsvg">
            <img class="header-icon" src="img/gh.png"/>
            View on GitHub
          </a>
        </p>
    
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="index.html">SwiftSVG Reference</a>
      <img class="carat" src="img/carat.png" />
      Other Classes  Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="SVG Extensions.html">SVG Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/CAShapeLayer.html">CAShapeLayer</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Other Classes.html">Other Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/NSXMLSVGParser.html">NSXMLSVGParser</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/SVGCache.html">SVGCache</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/SVGCircle.html">SVGCircle</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/SVGEllipse.html">SVGEllipse</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/SVGGroup.html">SVGGroup</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/SVGLayer.html">SVGLayer</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/SVGLine.html">SVGLine</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Classes/SVGRectangle.html">SVGRectangle</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Other Classes.html#/s:C8SwiftSVG7SVGView">SVGView</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Other Enums.html">Other Enums</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Other Enums.html#/s:O8SwiftSVG7LineCap">LineCap</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Other Enums.html#/s:O8SwiftSVG8LineJoin">LineJoin</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Other Extensions.html">Other Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/CALayer.html">CALayer</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/Dictionary.html">Dictionary</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/DispatchQueue.html">DispatchQueue</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/UIBezierPath.html">UIBezierPath</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Extensions/UIView.html">UIView</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Other Protocols.html">Other Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/Fillable.html">Fillable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/SVGContainerElement.html">SVGContainerElement</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/SVGElement.html">SVGElement</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/SVGParser.html">SVGParser</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/SVGShapeElement.html">SVGShapeElement</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Protocols/Strokable.html">Strokable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Other Protocols.html#/s:P8SwiftSVG8Stylable">Stylable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Other Protocols.html#/s:P8SwiftSVG13Transformable">Transformable</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="Other Structs.html">Other Structs</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Other Structs.html#/s:V8SwiftSVG26SVGParserSupportedElements">SVGParserSupportedElements</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Structs/SVGPath.html">SVGPath</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Structs/SVGPolygon.html">SVGPolygon</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Structs/SVGPolyline.html">SVGPolyline</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="Structs/SVGRootElement.html">SVGRootElement</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content">
            <h1>Other Classes</h1>
            <p>The following classes are available globally.</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG12SVGRectangle"></a>
                    <a name="//apple_ref/swift/Class/SVGRectangle" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG12SVGRectangle">SVGRectangle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concrete implementation that creates a <code>CAShapeLayer</code> from a <code>&lt;rect&gt;</code> element and its attributes</p>

                        <a href="Classes/SVGRectangle.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">class</span> <span class="kt">SVGRectangle</span><span class="p">:</span> <span class="kt"><a href="Protocols/SVGShapeElement.html">SVGShapeElement</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG10SVGEllipse"></a>
                    <a name="//apple_ref/swift/Class/SVGEllipse" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG10SVGEllipse">SVGEllipse</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concrete implementation that creates a <code>CAShapeLayer</code> from a <code>&lt;ellipse&gt;</code> element and its attributes</p>

                        <a href="Classes/SVGEllipse.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">class</span> <span class="kt">SVGEllipse</span><span class="p">:</span> <span class="kt"><a href="Protocols/SVGShapeElement.html">SVGShapeElement</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG14NSXMLSVGParser"></a>
                    <a name="//apple_ref/swift/Class/NSXMLSVGParser" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG14NSXMLSVGParser">NSXMLSVGParser</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concrete implementation of <code><a href="Protocols/SVGParser.html">SVGParser</a></code> that uses Foundation&rsquo;s <code>XMLParser</code> to parse a given SVG file.</p>

                        <a href="Classes/NSXMLSVGParser.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="n">open</span> <span class="kd">class</span> <span class="kt">NSXMLSVGParser</span><span class="p">:</span> <span class="kt">XMLParser</span><span class="p">,</span> <span class="kt">XMLParserDelegate</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG8SVGCache"></a>
                    <a name="//apple_ref/swift/Class/SVGCache" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG8SVGCache">SVGCache</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A minimal in-memory cache class for caching <code><a href="Classes/SVGLayer.html">SVGLayer</a></code>s. The <code>default</code> singleton is the default cache used and you can optionally create your own static singleton through an extension.</p>

                        <a href="Classes/SVGCache.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">class</span> <span class="kt">SVGCache</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG9SVGCircle"></a>
                    <a name="//apple_ref/swift/Class/SVGCircle" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG9SVGCircle">SVGCircle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concrete implementation that creates a <code>CAShapeLayer</code> from a <code>&lt;circle&gt;</code> element and its attributes</p>

                        <a href="Classes/SVGCircle.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">class</span> <span class="kt">SVGCircle</span><span class="p">:</span> <span class="kt"><a href="Protocols/SVGShapeElement.html">SVGShapeElement</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG8SVGLayer"></a>
                    <a name="//apple_ref/swift/Class/SVGLayer" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG8SVGLayer">SVGLayer</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A <code>CAShapeLayer</code> subclass that allows you to easily work with sublayers and get sizing information</p>

                        <a href="Classes/SVGLayer.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="n">open</span> <span class="kd">class</span> <span class="kt">SVGLayer</span><span class="p">:</span> <span class="kt">CAShapeLayer</span><span class="p">,</span> <span class="kt">SVGLayerType</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG8SVGGroup"></a>
                    <a name="//apple_ref/swift/Class/SVGGroup" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG8SVGGroup">SVGGroup</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concrete implementation that creates a container from a <code>&lt;g&gt;</code> element and applies its attribites to all sublayers</p>

                        <a href="Classes/SVGGroup.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">class</span> <span class="kt">SVGGroup</span><span class="p">:</span> <span class="kt"><a href="Protocols/SVGContainerElement.html">SVGContainerElement</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/TODO:%20Removing%20IBDesignable%20support%20for%20now%20seeing%20there"></a>
                <a name="//apple_ref/swift/Section/TODO: Removing IBDesignable support for now seeing there" class="dashAnchor"></a>
                <a href="#/TODO:%20Removing%20IBDesignable%20support%20for%20now%20seeing%20there">
                  <h3 class="section-name">TODO: Removing IBDesignable support for now seeing there</h3>
                </a>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG7SVGView"></a>
                    <a name="//apple_ref/swift/Class/SVGView" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG7SVGView">SVGView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A <code>UIView</code> subclass that can be used in Interface Builder where you can set the @IBInspectable propert <code>SVGName</code> in the side panel. Use the UIView extensions if you want to creates SVG views programmatically.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="n">open</span> <span class="kd">class</span> <span class="kt">SVGView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:C8SwiftSVG7SVGLine"></a>
                    <a name="//apple_ref/swift/Class/SVGLine" class="dashAnchor"></a>
                    <a class="token" href="#/s:C8SwiftSVG7SVGLine">SVGLine</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concrete implementation that creates a <code>CAShapeLayer</code> from a <code>&lt;line&gt;</code> element and its attributes</p>

                        <a href="Classes/SVGLine.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">class</span> <span class="kt">SVGLine</span><span class="p">:</span> <span class="kt"><a href="Protocols/SVGShapeElement.html">SVGShapeElement</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>© 2017 Michael Choe under <a class="link" href="https://github.com/mchoe/SwiftSVG/blob/master/LICENSE" target="_blank" rel="external">MIT</a>.</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
    </section>
  </body>
</div>
</html>
